package com.maserb.monitor.service.jwOur;

import com.maserb.monitor.entity.jwOur.JwMessageEntity;
import com.maserb.monitor.repository.jwOur.JwMessageRepository;
import com.maserb.monitor.service.base.JpaSpecificationService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface JwMessageService extends JpaSpecificationService<JwMessageRepository, JwMessageRepository, JwMessageEntity, String> {
    List<JwMessageEntity> findByIsReleaseAndIsDel(String isRelease, String isDel);

    Page<JwMessageEntity> findAll(Pageable pageable, String isRelease , String description);

    void doRelease(String id);

    void doNoRelease(String id);

}